7.5
HIGH CVSS 3.1
CVE-2025-61772
Rack's multipart parser buffers unbounded per-part headers, enabling DoS (memory exhaustion)
Description

Rack is a modular Ruby web server interface. In versions prior to 2.2.19, 3.1.17, and 3.2.2, `Rack::Multipart::Parser` can accumulate unbounded data when a multipart part’s header block never terminates with the required blank line (`CRLFCRLF`). The parser keeps appending incoming bytes to memory without a size cap, allowing a remote attacker to exhaust memory and cause a denial of service (DoS). Attackers can send incomplete multipart headers to trigger high memory use, leading to process termination (OOM) or severe slowdown. The effect scales with request size limits and concurrency. All applications handling multipart uploads may be affected. Versions 2.2.19, 3.1.17, and 3.2.2 cap per-part header size (e.g., 64 KiB). As a workaround, restrict maximum request sizes at the proxy or web server layer (e.g., Nginx `client_max_body_size`).

INFO

Published Date :

Oct. 7, 2025, 3:16 p.m.

Last Modified :

Oct. 10, 2025, 4:45 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2025-61772 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Rack rack
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
Solution
Update Rack to a patched version or restrict request sizes to mitigate DoS.
  • Update Rack to versions 2.2.19, 3.1.17, or 3.2.2.
  • Restrict maximum request sizes at the proxy layer.
  • Configure web server to limit upload sizes.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2025-61772.

URL Resource
https://github.com/rack/rack/commit/589127f4ac8b5cf11cf88fb0cd116ffed4d2181e Patch
https://github.com/rack/rack/commit/d869fed663b113b95a74ad53e1b5cae6ab31f29e Patch
https://github.com/rack/rack/commit/e08f78c656c9394d6737c022bde087e0f33336fd Patch
https://github.com/rack/rack/security/advisories/GHSA-wpv5-97wm-hp9c Vendor Advisory Mitigation
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-61772 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-61772 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-61772 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-61772 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Oct. 10, 2025

    Action Type Old Value New Value
    Added CPE Configuration OR *cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:* versions up to (excluding) 2.2.19 *cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:* versions from (including) 3.1.0 up to (excluding) 3.1.17 *cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:* versions from (including) 3.2.0 up to (excluding) 3.2.2
    Added Reference Type GitHub, Inc.: https://github.com/rack/rack/commit/589127f4ac8b5cf11cf88fb0cd116ffed4d2181e Types: Patch
    Added Reference Type GitHub, Inc.: https://github.com/rack/rack/commit/d869fed663b113b95a74ad53e1b5cae6ab31f29e Types: Patch
    Added Reference Type GitHub, Inc.: https://github.com/rack/rack/commit/e08f78c656c9394d6737c022bde087e0f33336fd Types: Patch
    Added Reference Type GitHub, Inc.: https://github.com/rack/rack/security/advisories/GHSA-wpv5-97wm-hp9c Types: Mitigation, Vendor Advisory
  • New CVE Received by [email protected]

    Oct. 07, 2025

    Action Type Old Value New Value
    Added Description Rack is a modular Ruby web server interface. In versions prior to 2.2.19, 3.1.17, and 3.2.2, `Rack::Multipart::Parser` can accumulate unbounded data when a multipart part’s header block never terminates with the required blank line (`CRLFCRLF`). The parser keeps appending incoming bytes to memory without a size cap, allowing a remote attacker to exhaust memory and cause a denial of service (DoS). Attackers can send incomplete multipart headers to trigger high memory use, leading to process termination (OOM) or severe slowdown. The effect scales with request size limits and concurrency. All applications handling multipart uploads may be affected. Versions 2.2.19, 3.1.17, and 3.2.2 cap per-part header size (e.g., 64 KiB). As a workaround, restrict maximum request sizes at the proxy or web server layer (e.g., Nginx `client_max_body_size`).
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Added CWE CWE-400
    Added Reference https://github.com/rack/rack/commit/589127f4ac8b5cf11cf88fb0cd116ffed4d2181e
    Added Reference https://github.com/rack/rack/commit/d869fed663b113b95a74ad53e1b5cae6ab31f29e
    Added Reference https://github.com/rack/rack/commit/e08f78c656c9394d6737c022bde087e0f33336fd
    Added Reference https://github.com/rack/rack/security/advisories/GHSA-wpv5-97wm-hp9c
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.5
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact